package com.qhhc.mapper;

import com.qhhc.entity.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface EmployeeMapper {
    Employee selectEmployeeById(Long empId);
    List<Employee> selectEmployeeByEmpName(String empName);
    List<Employee> selectEmployeeByType(int empType);
    List<Employee>  selectAllEmployees();
    int insertEmployee(Employee employee);
    int updateEmployee(Employee employee);
    int deleteEmployeeById(Long id);

}
